package cn.xyafu.po;

/**
 * 评论实体类
 */
public class Comment {
	private int cid;
	private String ccontent;	//评论内容
	private String cdate;		//评论日期
	private int lid;			//失物信息id
	private User user;			//评论人信息
	
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getCcontent() {
		return ccontent;
	}
	public void setCcontent(String ccontent) {
		this.ccontent = ccontent;
	}
	public String getCdate() {
		return cdate;
	}
	public void setCdate(String cdate) {
		this.cdate = cdate;
	}
	public int getLid() {
		return lid;
	}
	public void setLid(int lid) {
		this.lid = lid;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "Comment{" +
				"cid=" + cid +
				", ccontent='" + ccontent + '\'' +
				", cdate='" + cdate + '\'' +
				", lid=" + lid +
				", user=" + user +
				'}';
	}
}
